<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="stylesheet" type="text/css" href="__CSS__/main.css" />
    <link rel="stylesheet" type="text/css" href="__CSS__/common.css" />
    <link rel="stylesheet" type="text/css" href="__CSS__/bootstrap.min.css" />
    <script type="text/javascript" src="__EXTEND__/lib/jquery/1.9.1/jquery.min.js"></script>
    <script type="text/javascript" src="__EXTEND__/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="__EXTEND__/lib/layer/2.4/layer.js"></script>
    <![endif]-->
    <title></title>
</head>
<body>
<div class="contant">
<div class="row">
        <div class="top">首页>审批申请</div>
        <div class="content">
         <form action="{:U('Complain/place')}" method="post" id='place'>
            <div class="box">
                <h1>渠道投诉<span>(标*为必填项)</span></h1>
                <div class="list-block">
                    <div class="row">
                        <label>标题:</label>
                        <input type="text" name="title" value='{$complain.title}' disabled="disabled">
                    </div>
                    <div class="row">
                        <label>投诉类型:</label>
                        <switch name='complain.type'>
                            <case value="1">业务问题</case>
                            <case value="2">客户问题</case>
                            <case value="3">流程问题</case>
                        </switch>
                    </div>
                    <div class="row">
                        <label>申请人:</label>
                         <input type="text" name="title" value='{$complain.user_name}' disabled="disabled">
                        <label>手机号:</label>
                        <input type="text" name="title" value='{$complain.user_phone}' disabled="disabled">
                    </div>
                    <div class="row">
                        <label>问题描述:</label>
                        <textarea name="del_result" id="" rows="7" style="width: 70%" disabled="disabled">{$complain.desc}</textarea>
                     <!--    <span>{$complain.desc}</span> -->
                    </div>
                </div>
                <div class="list-block">
                    <div class="row">
                        <label>处理结果:</label>
                        <textarea name="del_result" id="" rows="7" style="width: 70%"></textarea>
                    </div>
                    <input type="button" class="button01" id='tijiao' value="提交" name="">
                    <input type='hidden' name="id" value='{$complain.id}'/>
                    <input type='hidden' name="status" value=''/>
                    <input type="button" class="button01" id='cancel' value="暂不提交" name="">
                </div>
            </div>
            </form>
        </div>
    </div>
</div>
<script type="text/javascript">
   $('#tijiao').click(function(){
     $('#status').val(1);
     $('#place').submit();
   });
   $('#cancel').click(function(){
     location.href='{:U("Complain/index")}';
   });
</script>
</body>
</html>